<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.numerics.__init__&rdquo;</title>
        </head>
        <body><h1 class="module">Module s.n.__init__</h1><span id="part">Part of <a href="sympy.numerics.html">sympy.numerics</a></span><div class="toplevel"><div><p>This module contains functions and classes for arbitrary-precision 
numerical computations.</p>
<pre class="py-doctest">
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">from</span> sympy.numerics <span class="py-keyword">import</span> Float
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">from</span> sympy.numerics.functions <span class="py-keyword">import</span> exp, log, sqrt
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">from</span> sympy.numerics.constants <span class="py-keyword">import</span> pi_float
<span class="py-prompt">&gt;&gt;&gt; </span>Float.setdps(50)
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> pi_float()
<span class="py-output">3.1415926535897932384626433832795028841971693993751</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> exp(1)
<span class="py-output">2.7182818284590452353602874713526624977572470937000</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> log(2)
<span class="py-output">0.69314718055994530941723212145817656807550013436025</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> sqrt(2)
<span class="py-output">1.4142135623730950488016887242096980785696718753769</span></pre>
</div></div><table class="children"></table></body>
        